<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
     xmlns:a="http://xmlns.jcp.org/jsf/passthrough"
     template="TemplateShipperSpace.xhtml">
     
     <ui:define name="body2" >
  
     
     <h:form>
     
      <p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />

     
     
	 <p:dataTable var="a" value="#{espaceUsersMB.listeOffres()}" >
	 
			<f:facet name="header">My Active Shipment</f:facet>
			<p:column headerText="SN" >
			    <p:outputLabel value="#{a.idOffre}"/>
			</p:column>
			
			<p:column headerText="Delivery Title" >
				<p:outputLabel value="#{a.titre}"/>
			</p:column>
			
			<p:column headerText="Load photo" >
			
			</p:column>
			
			<p:column headerText="Bid Offer" >
			    <p:outputLabel value="#{a.villeDepart.etat.pays.intitule},#{a.villeDepart.etat.intitule},#{a.villeDepart.intitule}" />
            </p:column>
			
			<p:column headerText="Offloading Place" >
			<p:outputLabel value="#{a.villeArrive.etat.pays.intitule},#{a.villeArrive.etat.intitule},#{a.villeArrive.intitule}" />
            </p:column>
			
			<p:column headerText="Listed" >
			   <p:outputLabel value="#{a.dateCreation}"/>
			</p:column>
			
			<p:column headerText="Ends on" >
			 <p:outputLabel value="#{a.date_Expiration}"/>
			</p:column>
			
			<p:column headerText="Distance Calculation" >
			
			</p:column>
			
			<p:column headerText="Action" >
			
			<p:menuButton value="-Select-">
			
        <p:menuitem value="View" ajax="false" icon="ui-icon-info" action="gh" />
        <p:menuitem value="Request Quote" ajax="false" icon="ui-icon-mail-closed" action="gg" />
       
           </p:menuButton>

			</p:column>
			
	</p:dataTable>
	
	</h:form>
	
     </ui:define>
     </ui:composition>